package cn.hfatec.shms.enums;

/**
 * @author: panwb
 * <p/>
 * Date: 2015/12/14
 * Time: 9:34
 */
public enum IsQuote {

    YES((byte)1, "是"), NO((byte)0, "否");

    private String desc;
    private Byte code;

    IsQuote(Byte code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Byte getCode() {
        return code;
    }

    public void setCode(Byte code) {
        this.code = code;
    }
}
